package cn.silver.module.quartz.service.impl;

import cn.silver.framework.mybatis.service.impl.BaseServiceImpl;
import cn.silver.module.quartz.bean.JobLogBean;
import cn.silver.module.quartz.domain.SysJobLog;
import cn.silver.module.quartz.mapper.SysJobLogMapper;
import cn.silver.module.quartz.param.JobLogParam;
import cn.silver.module.quartz.service.ISysJobLogService;
import org.springframework.stereotype.Service;

/**
 * 定时任务调度日志信息 服务层
 *
 * @author hb
 */
@Service
public class SysJobLogServiceImpl extends BaseServiceImpl<SysJobLogMapper, SysJobLog, JobLogParam, JobLogBean> implements ISysJobLogService {

    /**
     * 清空任务日志
     */
    @Override
    public void cleanJobLog() {
        baseMapper.cleanJobLog();
    }
}
